package com.etc.service;

import java.util.List;

import org.json.JSONException;

import com.etc.entity.PathAndSelectScenicMessage;
import com.etc.service.arithmetic.TakeCatWay;

/**
 * 规划路线业务层接口
 * @author 小吴
 *
 */
public interface PlayWayService {
	
	//当用户选择的景点等于1个时
	public List<PathAndSelectScenicMessage> playWayOneScenic(int pid,int cid,int hid,int rsort_rule,int[] scenicid) throws JSONException;
	
	//当用户选择的景点等于2个时
	public List<PathAndSelectScenicMessage> playWayTwoScenic(int pid,int cid,int hid,int rsort_rule,int[] scenicid)throws JSONException;
	
	//当用户选择的景点大于2个时
	public List<PathAndSelectScenicMessage> playWayMoreScenic(int pid,int cid,int hid,int rsort_rule,int[] scenicid)throws JSONException;
	
	//当用户没有确定具体的景点时
	public List<PathAndSelectScenicMessage> playWayNoScenic(int pid,int cid,int hid,int rsort_rule)throws JSONException;
}
